Set a spending limit

您所在的位置:网站首页 sms account Set a spending limit

Set a spending limit

2024-07-12 13:19| 来源: 网络整理| 查看: 265

Set a spending limit

In Amazon Pinpoint SMS there are spending limits for each messaging channel.

The account limit is the maximum amount, in US dollars, that you can spend each month sending messages through a channel. When you reach your account limit, Amazon Pinpoint SMS stops sending your messages and, to send more messages, you need to request a spending limit increase. To learn more see Requesting a spending quota increase.

The remaining limit is how much you have spent for the current month sending messages.

The enforced limit is an optional spending limit, in US dollars, between $1 and the account limit. If you don't specify an enforced limit, you can spend up to your account limit. When you reach your enforced limit, Amazon Pinpoint SMS stops sending your messages. To resume sending messages, you can adjust your enforced limit through the console or AWS CLI. For example, if you set your SMS account limit to $100 and your enforced limit to $50, then once you've spent $50, Amazon Pinpoint SMS stops sending your messages until you raise your enforced limit.

You can adjust your enforced limit to increase or decrease your spending without having to contact AWS Support.

MMS has a separate spend limit from SMS. For example you could set you MMS Account limit to $10 and SMS Account limit to $5.

To set up billing alarms for your spending, see Monitoring spending. For more information about configuring the AWS CLI, see Configure the AWS CLI in the AWS Command Line Interface User Guide.

View your spending limits (console) View all of your spending limits

Open the Amazon Pinpoint SMS console at https://console.aws.amazon.com/sms-voice/.

On the Overview page, navigate to SMS Spending status.

In the SMS Spending status pane, you can view your Account limit, Enforced limit, and Remaining limit.

If your Enforced limit displays a –, it means the limit is not set.

View your enforced spending limit (AWS CLI)

You can use the describe-spend-limits command to view all of your channel spending limits.

aws pinpoint-sms-voice-v2 describe-spend-limits

When the command completes, it returns the Account limit and Enforced limit for each channel.

Change your enforced spending limit (Console) Change a spending limit

Open the Amazon Pinpoint SMS console at https://console.aws.amazon.com/sms-voice/.

On the Overview page, navigate to SMS Spending status.

In the SMS Spending status pane, choose Edit for the channel for which you want to change the Enforced limit.

In the Edit spending limits window, choose:

Update enforced spend limit – Enter a new Enforced limit between one and your account limit.

Default to the max send limit – Choose this option to adjust your enforced limit to your account limit.

Choose Save changes.

Set enforced spending limit (AWS CLI)

You can use the set-text-message-spend-limit-override command to set the enforced limit for the SMS channel. For the voice channel, use the set-voice-message-spend-limit-override command.

The following command shows how to increase the enforced limit for the SMS channel.

aws pinpoint-sms-voice-v2 set-text-message-spend-limit-override --monthly-limit NewEnforcedLimit

Replace NewEnforcedLimit with a value between one and the account limit of the SMS channel.

When the command completes, it returns the value of your new set limit.

Remove an enforced spending limit (AWS CLI)

You can use the delete-text-message-spend-limit-override command to set your enforced limit to the account limit for the SMS channel. For the voice channel, use the delete-voice-message-spend-limit-override command.

The following command shows how to remove the enforced limit for the SMS channel.

aws pinpoint-sms-voice-v2 delete-text-message-spend-limit-override

When the command completes, it returns the value of your enforced limit.



【本文地址】


今日新闻


推荐新闻


CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3